
import jagex.client.GameImage;
import java.awt.Component;

public class GameImageMiddleMan extends GameImage {

	public GameImageMiddleMan(int width, int height, int k, Component component) {
		super(width, height, k, component);
	}

	public void yf(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5,
			int arg6) {
		if (arg4 >= 40000) {
			_mudclient.hk(arg0, arg1, arg2, arg3, arg4 - 40000, arg5, arg6);
			return;
		}
		if (arg4 >= 20000) {
			_mudclient
					.drawNpc(arg0, arg1, arg2, arg3, arg4 - 20000, arg5, arg6);
			return;
		}
		if (arg4 >= 5000) {
			_mudclient.il(arg0, arg1, arg2, arg3, arg4 - 5000, arg5, arg6);
			return;
		} else {
			super.spriteClip(arg0, arg1, arg2, arg3, arg4);
			return;
		}
	}

	public mudclient _mudclient;
}
